package com.edee.bigday.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edee.bigday.commodity.entity.AttrGroupEntity;
import com.edee.bigday.commodity.vo.AttrGroupWithAttrsVo;
import com.edee.bigday.commodity.vo.SpuItemAttrGroupVo;
import com.edee.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author edee
 * @email 421763094@qq.com
 * @date 2020-12-09 23:08:51
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catalogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatId(Long catalogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long id, Long spuId);
}

